package com.hu.zhcc.shiro.entity.tj;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 问卷表
 * </p>
 *
 * @author tj
 * @since 2021-06-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TQuestionnaire extends Model<TQuestionnaire> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 问卷名称
     */
    private String name;
    /**
     * 问卷类型
     */
    private String type;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 适用性别
     */
    private String gender;
    /**
     * 创建时间
     */
    private String createtime;
    /**
     * 修改时间
     */
    private String updatetime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
